/*
package com.xgp;

import org.apdplat.word.WordSegmenter;
import org.apdplat.word.segmentation.Word;

import java.util.List;

public class WordFilter {
    public static  void automaticSelection(String title) {
        //移除停用词进行分词
        List<Word> list = WordSegmenter.seg(title);
        System.out.println(list);

//        System.out.println(JSON.toJSONString(list));

        //保留停用词
        List<Word> lists = WordSegmenter.segWithStopWords(title);
        System.out.println(lists);

    }

    public static void main(String[] args) {
        WordFilter.automaticSelection("我叫李太白，我是一个诗人，我生活在唐朝");
    }
}
*/
